import React from 'react'
import { Button } from 'antd';
import './NotFound.css'

export default function NotFound() {
  return (
    <div className='not-found'>
      <div className='not-found-content'>
        <div className="container">
          <div className="line"></div>
        </div>
        <div className='back-home'>
          <h3>抱歉，你访问的网页不存在</h3>
          <Button type='primary' onClick={()=>window.location.replace('/home')}>回到首页</Button>
        </div>
      </div>
    </div>
  )
}
